/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fleet.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.fleet.entity.MotorcadeLog;
import com.jeeplus.modules.fleet.mapper.MotorcadeLogMapper;

/**
 * 车队日志Service
 * @author sld
 * @version 2017-11-23
 */
@Service
@Transactional(readOnly = true)
public class MotorcadeLogService extends CrudService<MotorcadeLogMapper, MotorcadeLog> {

	public MotorcadeLog get(String id) {
		return super.get(id);
	}
	
	public List<MotorcadeLog> findList(MotorcadeLog motorcadeLog) {
		return super.findList(motorcadeLog);
	}
	
	public Page<MotorcadeLog> findPage(Page<MotorcadeLog> page, MotorcadeLog motorcadeLog) {
		return super.findPage(page, motorcadeLog);
	}
	
	@Transactional(readOnly = false)
	public void save(MotorcadeLog motorcadeLog) {
		super.save(motorcadeLog);
	}
	
	@Transactional(readOnly = false)
	public void delete(MotorcadeLog motorcadeLog) {
		super.delete(motorcadeLog);
	}
	
}